<template>
  <div class="app-container flex-column">
    <div class="flex-hd g-box">
      <el-tabs v-model="tabsValue" type="card">
        <el-tab-pane name="0">
          <span slot="label"><i class="el-icon-s-grid"></i> FormList组件</span>
        </el-tab-pane>
        <el-tab-pane name="1">
          <span slot="label"><i class="el-icon-s-grid"></i> 表格组件</span>
        </el-tab-pane>
        <el-tab-pane name="2">
          <span slot="label"><i class="el-icon-s-grid"></i> 甘特图组件</span>
        </el-tab-pane>
        <el-tab-pane name="4">
          <span slot="label"><i class="el-icon-s-grid"></i> 日历组件</span>
        </el-tab-pane>
        <el-tab-pane name="10">
          <span slot="label"><i class="el-icon-s-grid"></i> 流程图组件</span>
        </el-tab-pane>
      </el-tabs>
    </div>
    <div class="flex-bd" style="margin: -15px -15px 0;">
      <formDemo v-if="tabsValue == 0" />
      <tableDemo v-if="tabsValue == 1" />
      <ganttDemo v-if="tabsValue == 2" />
      <sheetDemo v-if="tabsValue == 3" />
      <calendarDemo v-if="tabsValue == 4" />
      <antvDemo v-if="tabsValue == 10" />
      <tableDemoCopy v-if="tabsValue == 20" />
    </div>
  </div>
</template>

<script>
import formDemo from './formDemo'
import tableDemo from './tableDemo'
import ganttDemo from './ganttDemo'
import calendarDemo from './calendarDemo'
import antvDemo from './antvDemo'
export default {
  name: "Index",
  components: {
    formDemo,
    tableDemo,
    ganttDemo,
    calendarDemo,
    antvDemo
  },
  data() {
    return {
      tabsValue: 0
    };
  },
  created() {
  },
  methods: {
  }
};
</script>

<style scoped lang="scss"></style>

